<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js" type="text/javascript"></script>
</head>
<body>
    <script>
        Office.onReady(() => {
            // Function file ready
        });

        function sampleFunction(event) {
            // Sample function implementation
            event.completed();
        }
    </script>
</body>
</html>